package com.good.webapi.Models;

import com.good.domain.models.SexModel;
import com.good.domain.models.SignModel;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.stereotype.Component;

import java.math.BigDecimal;
/*
* 用户注册参数
* */
@Component
public class UserRegister  extends SignModel {
    @ApiModelProperty("手机号")
    public long mobile;
    @ApiModelProperty("昵称")
    public String nickName;
    @ApiModelProperty("性别")
    public SexModel sex;
    @ApiModelProperty("生日")
    public String birthday;
    @ApiModelProperty("头像")
    public  String pic;
    @ApiModelProperty("经度")
    public BigDecimal longitude;
    @ApiModelProperty("维度")
    public BigDecimal latitude;

    @Override
    public String toString() {
        return "UserRegister{" +
                "mobile=" + mobile +
                ", nickName='" + nickName + '\'' +
                ", sex='" + sex + '\'' +
                ", birthday='" + birthday + '\'' +
                ", pic='" + pic + '\'' +
                ", longitude=" + longitude +
                ", latitude=" + latitude +
                '}';
    }



}
